package group.igfd.manager.biz.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import group.igfd.manager.biz.entity.PublishBuyersEntity;
import group.igfd.manager.biz.model.BuyerStatisticsDO;
import group.igfd.manager.biz.model.BuyerStatisticsModel;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * buyer发布表
 *
 * @author knight
 * @email sunlightcs@gmail.com
 * @date 2018-10-17 15:59:19
 */
@Mapper
public interface PublishBuyersDao extends BaseMapper<PublishBuyersEntity> {

    List<BuyerStatisticsModel> getStatisticsList(BuyerStatisticsDO query);

    int getStatisticsListCount(BuyerStatisticsDO query);

    List<BuyerStatisticsModel> getExportList(BuyerStatisticsDO query);

    List<PublishBuyersEntity> getPublishBuyersByParms(Map<String, Object> params);

    Integer getPublishBuyersByParmsCount(Map<String, Object> params);
}
